package com.service;

import com.model.Message;
import com.model.MessageDTO;
import com.util.PageBean;

import java.util.List;

public interface MessageService {
    int addMessage(Message message);

    int getCount(Message message);

    List<MessageDTO> queryMessageByUid(Message message, PageBean page);

    List<Message> queryMessageListByFromId(Message message);
}
